﻿
using System;
using System.Collections;
namespace MVCFoto.Model
{
	/// <summary>
	/// 相册
	/// </summary>
	public class AlbumInfo
	{
			private int m_albumid;
			private int m_userid;
			private string m_title;
			private string m_desc;
			private string m_coverphoto;
			private DateTime m_photodate;
			private DateTime m_createdate;
			private short m_privacy;
            private int m_photocount;
	
	
	#region 构造函数
		/// <summary>
		/// 构造函数
		/// </summary>
		public AlbumInfo()
		{
		
		}
		/// <summary>
		/// 构造函数
		/// </summary>
		public AlbumInfo(int userID,string title,string desc,string coverPhoto,DateTime photoDate,DateTime createDate,short privacy)
		{
			this.m_userid = userID;
		this.m_title = title;
		this.m_desc = desc;
		this.m_coverphoto = coverPhoto;
		this.m_photodate = photoDate;
		this.m_createdate = createDate;
		this.m_privacy = privacy;
	
		}
	#endregion
	
	#region 属性

			/// <summary>
	/// 
	/// </summary>
	public int AlbumID
	{
		set{ this.m_albumid = value;}
		get{ return this.m_albumid;}
	}

			/// <summary>
	/// 
	/// </summary>
	public int UserID
	{
		set{ this.m_userid = value;}
		get{ return this.m_userid;}
	}

			/// <summary>
	/// 
	/// </summary>
	public string Title
	{
		set{ this.m_title = value;}
		get{ return this.m_title;}
	}

			/// <summary>
	/// 
	/// </summary>
	public string Desc
	{
		set{ this.m_desc = value;}
		get{ return this.m_desc;}
	}

			/// <summary>
	/// 相册封面
	/// </summary>
	public string CoverPhoto
	{
		set{ this.m_coverphoto = value;}
		get{ return this.m_coverphoto;}
	}

			/// <summary>
	/// 
	/// </summary>
	public DateTime PhotoDate
	{
		set{ this.m_photodate = value;}
		get{ return this.m_photodate;}
	}

			/// <summary>
	/// 
	/// </summary>
	public DateTime CreateDate
	{
		set{ this.m_createdate = value;}
		get{ return this.m_createdate;}
	}

			/// <summary>
	/// 相册隐私设置
	///   公开
	///   私人
	///   仅登录用户
	/// </summary>
	public short Privacy
	{
		set{ this.m_privacy = value;}
		get{ return this.m_privacy;}
	}

    public int PhotoCount {
        set { this.m_photocount = value; }
        get { return this.m_photocount; }
    }

	#endregion
}
}
